package com.edu.storage.mapper;

import com.edu.storage.entity.TStorage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author dingchengyu
 * @since 2022-05-13
 */
@Mapper
public interface TStorageMapper extends BaseMapper<TStorage> {
    int deductStorage(@Param("commodityCode") String commodityCode, @Param("count") int count);
}
